* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.van-toast {
  z-index: 999999;
}
.desgin {
  width: 100vw;
  height: 100vh;
  background-color: #eeeeee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  .popup {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    .van-tabs__line {
      width: 18px;
      background-color: #00C65A;
    }
    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 9px 16px;
    }
    .content {
      padding: 16px;
    }
  }
  .popup2 {
    .data2-list {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .header {
      .van-tabs {
        width: 100%;
      }
    }
    .content {
      height: 200px;
      overflow: auto;
    }
  }
  .popup3 {
    .header2 {
      height: 45px;
      background-color: rgb(246, 246, 246);
      display: flex;
      align-items: center;
      //> div {
      //  flex-grow: 1;
      //}
    }
    .van-tabs {
      width: 100%;
    }
    .tool {
      padding: 0;
    }
    //.van-tabs__line {
    //  display: none;
    //}
    .color-icon-box {
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .color-icon {
      display: inline-block;
      width: 24px;
      height: 24px;
      border-radius: 50%;
    }
    //.van-tab--active {
    //  .color-icon-box {
    //    border: 1px solid #FFE71F;
    //  }
    //}
    .van-tabs__line {
      display: none;
    }
  }
  .popup4 {
    display: flex;
    flex-direction: column;
    .header {
      display: flex;
      justify-content: flex-end;
    }
    .field-content {
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .field-direction {
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      .van-image {
        margin: 0 20px;
      }
    }
  }
  .button__wrapper {
    flex-shrink: 0;
    padding: 16px 16px 0 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .button {
    width: 52px;
    height: 30px;
    background: #303030;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 30px;
  }
  .canvas {
    width: 250px;
    height: 370px;
    overflow: hidden !important;
    background-color: #FFFFFF;
  }
  .tool {
    background-color: #FFFFFF;
    padding: 10px 18px;
    .undo-box {
      display: flex;
      margin-bottom: 10px;
      .right {
        margin-left: 10px;
        transform: rotateY(180deg);
      }
    }
    .func-box {
      display: flex;
      align-items: center;
      .func-item {
        border-radius: 4px;
        flex: 1;
        height: 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        line-height: 17px;
        img {
          width: 19px;
          height: 19px;
          margin-bottom: 7px;
        }
        &.active {
          color: #00C65A;
          background: rgba(0, 198, 90, 0.08);
        }
      }
    }
  }
}
